package JavaGrammar;

/**
 * @author wys
 * created in 16:12 2019/3/4
 * 构造方法 可以用 protected ,不可以用private
 *
 */
public class constructorTest {

    public static void main(String args[]) {

        TestA testA = new TestA();

    }


}

class TestA {

    protected TestA() {
        System.out.println(" Constructor Test A " );
    }

}
